<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <base href="<%=request.getContextPath()%>/"/>
    <script src="js/jquery.min.js"></script>
    <!-- Bootstrap Core JavaScript -->
    <script src="js/bootstrap.js"></script>
    <link href="css/bootstrap.css" rel="stylesheet">
    <script src="js/jsp/addPath.js"></script>
</head>
<body>
<div class="col-md-6 col-md-offset-3" style="margin-top: 5%;">
    <form class="form-horizontal" role="form">
        <div class="form-group">
            <label for="remark" class="col-md-2 control-label">路径说明</label>
            <div class="col-md-10">
                <input type="text" class="form-control" id="remark" placeholder="路径说明">
            </div>
        </div>
        <div class="form-group">
            <label for="pathName" class="col-md-2 control-label">路径</label>
            <div class="col-md-10">
                <input type="text" class="form-control" id="pathName" placeholder="例如/**/**">
            </div>
        </div>
        <div class="form-group">
            <label for="rootlevel" class="col-md-2 control-label">路径节点类型:</label>
            <div class="col-md-10">
                <div class="row" style="margin-bottom: 2%;">
                    <label for="rootlevel" class="col-md-2 control-label">节点等级:</label>
                    <div class="col-md-10">
                        <div class="dropdown">
                            <button type="button" class="btn dropdown-toggle" id="rootlevel" data-toggle="dropdown">0
                                <span class="caret"></span>
                            </button>
                            <ul class="dropdown-menu" role="menu" aria-labelledby="rootlevel" id="rootlevelUl">
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="row" style="margin-bottom: 2%;">
                    <label for="fatherLeaf" class="col-md-2 control-label">请选择父节点:</label>
                    <div class="col-md-10">
                        <div class="dropdown">
                            <button type="button" class="btn dropdown-toggle" id="fatherLeaf" name="0" data-toggle="dropdown">0
                                <span class="caret"></span>
                            </button>
                            <ul class="dropdown-menu" role="menu" aria-labelledby="fatherLeaf" id="fatherLeafUl">
                                <li role="presentation">
                                    <a role="menuitem" tabindex="-1" href="#" name="0">没有父节点</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="row" style="margin-bottom: 2%;">
                    <label for="sonleaf" class="col-md-2 control-label">子节点:</label>
                    <div class="col-md-10">
                        <div class="radio">
                            <label>
                                <input type="radio" class="sonLeaf" name="sonLeaf" id="sonLeaf" value="0" checked="checked" />有
                            </label>
                            <label>
                                <input type="radio" class="sonLeaf" name="sonLeaf" id="sonLeaf1" value="1" />无
                            </label>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <label for="sortLevel" class="col-md-2 control-label">排序等级(level):</label>
                    <div class="col-md-10">
                        <div class="dropdown">
                            <button type="button" class="btn dropdown-toggle" id="sortLevel" data-toggle="dropdown">0
                                <span class="caret"></span>
                            </button>
                            <ul class="dropdown-menu" role="menu" aria-labelledby="sortLevel" id="sortLevelUl">
                                <!--<li role="presentation">
                                    <a role="menuitem" tabindex="-1" href="#" name="0">level0</a>
                                </li>-->
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <button type="submit" class="btn btn-success" id="submit">提交</button>
                <button type="submit" class="btn btn-danger" style="margin-left: 2%;">重置</button>
            </div>
        </div>
    </form>
</div>
</body>

</html>
